package cn.itcast.product.dao;

import cn.itcast.product.entity.Product;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 接口继承
 * 自动实现增删改查
 */

public interface ProductDao extends
        JpaRepository<Product,Long>,
        JpaSpecificationExecutor<Product> {

}
